picasa auto backup

Discover picasa auto backup, include the articles, news, trends, analysis and practical advice about picasa auto backup on alibabacloud.com

MySQL Auto Backup shell

#!/bin/bash#数据库配置信息#db_user = root#db_password = Wdmima#db_host = localhost#备份目录Backup_dir =/root/database/#获取当前时间Timestr = ' Date +%y%m%d '#mysql command#MYSQL = "/usr/local/mysql/bin/mysql"#MYSQLDUMP = "/usr/local/mysql/bin/mysqldump"#测试备份目录是否可写不可写则报错Test! -W $backup _dir echo "Error: $backup _dir in un-writeable." exit 0#测试备份目录中的最新备份文件夹是否存在, if it does not exist, createTest! -D "/root/database/

MySQL auto-complete, add-on & log backup using shell

failuresleep_seconds=10# #create Local_backup_dir If necessaryMkdir-p ${local_backup_dir}CD ${local_backup_dir}# # Run While loop, wait for a specified time after the connection is disconnected, reconnectWhile:DoIf [' Ls-a ' ${local_backup_dir} "|wc-l '-eq 0];thenLast_file=${first_binlog}ElseLast_file= ' Ls-l ${local_backup_dir} | Grep-v backuplog |tail-n 1 |awk ' {print $9} 'Fi${backup_bin}--raw--read-from-remote-server--stop-never--host=${remote_host}--port=${remote_port}--user=${ Remote_user

Linux VPS Auto-timed backup website files and MySQL database to FTP space (LNMP)

://www.cnbanwagong.com/tools/backup-ftp.sh Third, modify the configuration file #!/bin/bash#你要修改的地方从这里开始Mysql_user=root #mysql用户名mysql_pass=123456 #mysql密码[Email protected] #数据库发送到的邮箱Ftp_user=cat #ftp用户名ftp_pass=123456 #ftp密码Ftp_ip=123.123.123.123 #ftp地址Ftp_backup=backup #ftp上存放备份文件的目录, this is going to have to be built on your own FTP.Web_data=/home/www/cnbanwagong.com #要备份的网站数据#你要修改的地方从这里结束

Auto-packaged backup compression common footsteps

1, back up the usual footsteps:Footsteps One#!/bin/shmkdir-p/backup/' date +%y%m%d ' cd/opt/tar-czvf/backup/' date +%y%m%d '/m_ ' date +%s '. tar.gz m/Script two:#! /bin/bashmkdir-p/backup/' date +%y%m%d ' cd/opt/tar-czvf/backup/' date +%y%m%d '/m_ ' date +%y%m%d%h%m%s '. tar.gz-- Exclude=files--exclude=*.jar m/tar-czv

Linux wget Auto Login and Backup Database

#!/bin/bash# This is a code originally intended to use the automatic backup data, due to the test process has been unable to connect problems, resulting in the inability to test, # then finally gave up the code of the further development, but the record is still necessary Login_url='Xxxxxxxxx:2083/login/?login_only=1'Cookie_file='Cookies'Login_params="--save-cookies $cookie _file--keep-session-cookies--post-data= ' user=zpass=q '--referer= ' xxxxxxxx:

MySQL Auto Backup shell

Tags:. SH linux Scheduled task dispatch localhost ACK host MYSQ problem range#!/bin/bashMysqldump-hip or domain name (default localhost)-u account-p Password Database | gzip >/home/backup/sql/Database _$ (date +%y%m%d_%h%m%s). sql.gzWe're joining the Linux program.Cron DaemonCRONTAB-E//Editing tasksCrontab-l//View TasksCrontab-r//Delete all task scheduling work"*" represents a number in the range of values,"/" stands for "every","-" represents a numbe

MySQL Auto-backup shell under Linux

= "/var/backup/hostname-mysql-data/" # Delete a backup directory that exists greater than the following number of days deleterootoutdays=30# must be the full email address because the front command is used to smtpuser= "[emailprotected]" #smtp:// The protocol is required smtphost= "smtp://smtp.qq.com:25" #密码不能包含又引号防止shell出错smtpPwd = "pwd" smtpto= "[emailprotected]" smtpsubject= "MySQL automatic

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.